cmake_minimum_required(VERSION 3.10)

project(reactor)

set(CMAKE_CXX_STANDARD, 11)

add_executable(server ./server/tcp_server.cc)
add_executable(client ./client/tcp_client.cc)

target_link_libraries(server jsoncpp)
target_link_libraries(client jsoncpp)
target_compile_definitions(server PUBLIC DEBUGSHOW)
target_compile_definitions(server PUBLIC MYSELF)
target_compile_definitions(client PUBLIC MYSELF)


